//
//  LMViewProtocol.h
//  Conva
//
//  Created by cruise on 2018/1/5.
//  Copyright © 2018年 com.conva. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol LMViewProtocol <NSObject>

/**
 为视图绑定 viewModel
 
 @param viewModel 要绑定的ViewModel
 @param params 额外参数
 */
- (void)bindViewModel:(id <LMViewProtocol>)viewModel withParams:(NSDictionary *)params;

@required

/**
 初始化额外数据
 */
- (void)lm_initializeForView;

/**
 初始化视图
 */
- (void)lm_createViewForView;

@end
